package cn.lili.modules.order.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.order.order.client.OrderItemClient;
import cn.lili.modules.order.order.entity.dos.OrderItem;
import cn.lili.modules.order.order.entity.dos.OrderItemFlow;
import cn.lili.modules.order.order.entity.dto.OrderItemFlowSearchParams;
import cn.lili.modules.order.order.entity.enums.CommentStatusEnum;
import cn.lili.modules.order.order.entity.vo.OrderItemFlowUserVO;
import cn.lili.modules.order.order.entity.vo.OrderItemViewVO;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import java.util.Date;
import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-13 17:24
 * @description: 子订单Fallback
 */
public class OrderItemFallback implements OrderItemClient {

    @Override
    public OrderItem getBySn(String sn) {
        throw new ServiceException();
    }

    @Override
    public OrderItem getByOrderSnAndSkuId(String orderSn, String skuId) {
        throw new ServiceException();
    }

    @Override
    public List<OrderItem> getByOrderSn(String sn) {
        throw new ServiceException();
    }

    @Override
    public void updateCommentStatus(String sn, CommentStatusEnum finished) {
        throw new ServiceException();
    }

    @Override
    public void updateById(OrderItem orderItem) {
        throw new ServiceException();
    }


    /**
     * 修改订单投诉状态
     *
     * @param orderItemIdList 获取订单货物ID
     * @return 是否操作成功
     */
    @Override
    public boolean updateComplainStatus(List<String> orderItemIdList) {
        throw new ServiceException();
    }

    @Override
    public void update(OrderItem orderItem) {
        throw new ServiceException();
    }

    @Override
    public Page<OrderItemFlowUserVO> getOrderFlowUserVOByCondition(OrderItemFlowSearchParams searchParams) {
        throw new ServiceException();
    }

    @Override
    public Long amountOderFlowUserVOByCondition(OrderItemFlowSearchParams searchParams) {
        throw new ServiceException();
    }

    @Override
    public OrderItem getByIdVal(String itemIdVal) {
        throw new ServiceException();
    }

    @Override
    public void saveBatch(List<OrderItem> orderItems) {
        throw new ServiceException();
    }

    @Override
    public List<OrderItemViewVO> getDistributionFlowPriceAndComissTotal(List<String> memberIds) {
        throw new ServiceException();
    }

    @Override
    public List<OrderItemViewVO> getDistributionFlowPriceAndComissTotalCurrentMonth(List<String> memberIds) {
        throw new ServiceException();
    }

    @Override
    public List<OrderItemViewVO> getDistributionFlowPriceAndComissTotalLastMonth(List<String> memberIds) {
        throw new ServiceException();
    }

    @Override
    public List<OrderItemViewVO> getDistributionFlowPriceAndComissTotalDistribution(List<String> memberIds) {
        throw new ServiceException();
    }

    @Override
    public OrderItemViewVO getDistributionFlowPriceAndComissTotalByMonth(String memberId, String startTime, String endTime) {
        throw new ServiceException();
    }

    @Override
    public List<OrderItemViewVO> getDistributionFlowPriceAndComissTotalType(List<String> memberIds, Integer type) {
        throw new ServiceException();
    }
}
